<template>
  <div>
    <div  class="follow clear" v-for="item in followList" :key="item.id">
      <div class="tone clear">
        <div class="left"><img :src="item.avatar" alt=""></div>
        <div class="cen">
          <div class="tit">{{ item.name }} 关注了你</div>
          <div class="time">{{ item.time }}</div>
        </div>
        <div class="right" ><van-button type="primary" size="small">+回关</van-button></div>
      </div>

    </div>

  </div>
</template>

<script>
  export default {
    
    props: {
      followList: {
      type: Array,
      required: true,
    },
  },
}
</script>

<style lang="scss" scoped>
.clear::before,.clear::after{
  content: '';
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
}
.follow{
  position: relative;
  font-size: 14px;
  width: 100%;
 
  visibility: inherit;
  background-color: #fff;
  border-bottom: 1px solid #f2f2f2;
  padding: 14px;
  box-sizing: border-box;
    .tone{
    /* background-color: rgb(255, 126, 126); */
       margin-bottom: 8px;
   
      .left{
        float: left;
        margin-right: 15px;
        img{
          width: 32px;
          height: 32px;
          border-radius: 48px;
        }
      }
    .cen{
        float: left; 
      
      }  
    .right{
      float: right;
      .van-button{
        height: 26px;
        width: 65px;
        background-color: #ff6262;
        border: none;
        border-radius: 5px;
      }
    }  
    
  }
  .msg{
    color: #333;
    font-size: 14px;
    margin-bottom: 15px;
  }
  .btwo{
    background-color: #f9f9f9;
    color: #a599b2;
    float: left;
    
    
    img{
      height: 64px;
      width: 64px;
      float: left;
      margin-right: 10px;
    }
  }
}
.time{
  font-size: 12px;
  color:#a599b2;
  margin-top: 3px;
}
</style>